package cn.cloud.butler.uploadapi.domain;

import javax.persistence.*;

/**
 * Created by zhouguocheng on 2018-12-24-上午 10:35
 */
@Entity
@Table(name = "AlarmData")
public class AlarmDataEntity {
    /**
     * CREATE TABLE `AlarmData` (
     `ID` bigint(20) NOT NULL AUTO_INCREMENT,
     `AlarmNum` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
     `AlarmID` varchar(20) NOT NULL COMMENT '报警号',
     `Data` text CHARACTER SET utf8 COMMENT '报警内容',
     `Reason` text CHARACTER SET utf8 COMMENT '报警原因',
     `Respond` text CHARACTER SET utf8 COMMENT '响应',
     `Solution` text CHARACTER SET utf8 COMMENT '处理及解决',
     `Reference` text CHARACTER SET utf8 COMMENT '参考',
     `Uploader` varchar(255) CHARACTER SET utf8 DEFAULT NULL COMMENT '上传者',
     PRIMARY KEY (`ID`),
     UNIQUE KEY `alarmID_unique` (`AlarmID`) USING BTREE
     ) ENGINE=InnoDB AUTO_INCREMENT=2847 DEFAULT CHARSET=latin1;
     */

    @Id
    @GeneratedValue
    @Column(name = "ID")
    private Integer id;
    @Column(name = "AlarmID")
    private  String alarmid;
    @Column(name = "AlarmNum")
    private  String alarmnum;
    @Column(name = "Data")
    private  String data;
    @Column(name = "Reason")
    private  String reason;
    @Column(name = "Respond")
    private  String respond;
    @Column(name = "Solution")
    private  String solution;
    @Column(name = "Reference")
    private  String reference;
    @Column(name = "Uploader")
    private  String uploader;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAlarmid() {
        return alarmid;
    }

    public void setAlarmid(String alarmid) {
        this.alarmid = alarmid;
    }

    public String getAlarmnum() {
        return alarmnum;
    }

    public void setAlarmnum(String alarmnum) {
        this.alarmnum = alarmnum;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getRespond() {
        return respond;
    }

    public void setRespond(String respond) {
        this.respond = respond;
    }

    public String getSolution() {
        return solution;
    }

    public void setSolution(String solution) {
        this.solution = solution;
    }

    public String getReference() {
        return reference;
    }

    public void setReference(String reference) {
        this.reference = reference;
    }

    public String getUploader() {
        return uploader;
    }

    public void setUploader(String uploader) {
        this.uploader = uploader;
    }
}
